<?php
class PNSpaMenu_SpaEmployee extends PNObject {
  function PNSpaMenu_SpaEmployee($init=null, $where='')
  {
    $this->PNObject();

    $this->_objType       = 'spaservice_spamenu_spaemployee';
    $this->_objField      = 'id';
    $this->_objPath       = 'form';

    $this->_init($init, $where);
  }
  
  function getDataFromInputJSON()
  {
      $stdClass = json_decode(file_get_contents('php://input'));
      
      foreach($stdClass AS $key=>$val){
        $obj[$key] = $val;
      }
      if ($obj) {
          $this->_objData = $obj;
          $this->getDataFromInputPostProcess();
          return $this->_objData;
      }

      return $default;
   }
}